cpw.qulogic.gtk3: 40c0713a: fixed some indentation
malu at pidgin.im
malu at pidgin.im
Tue Nov 30 04:11:37 EST 2010
----------------------------------------------------------------------
Revision: 40c0713acbaeb5dde8d17c0d154606050d5f4bd3
Parent: b07f43f793b14f2d4a5334df445d72bcf6892580
Author: malu at pidgin.im
Date: 11/30/10 04:03:34
Branch: im.pidgin.cpw.qulogic.gtk3
URL: http://d.pidgin.im/viewmtn/revision/info/40c0713acbaeb5dde8d17c0d154606050d5f4bd3
Changelog:
fixed some indentation
Changes against parent b07f43f793b14f2d4a5334df445d72bcf6892580
patched pidgin/gtkimhtml.c
-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c 8d8947b3342b819e9e90bca76c4ea93eaedaa0ff
+++ pidgin/gtkimhtml.c de1493d2d17f85d5e083148189def00f85b49e0a
@@ -499,22 +499,20 @@ gtk_imhtml_tip_paint (GtkIMHtml *imhtml)
gtk_imhtml_tip_paint (GtkIMHtml *imhtml)
{
PangoLayout *layout;
- cairo_t *cr = gdk_cairo_create(GDK_DRAWABLE(imhtml->tip_window));
+ cairo_t *cr = gdk_cairo_create(GDK_DRAWABLE(imhtml->tip_window));
g_return_val_if_fail(GTK_IS_IMHTML(imhtml), FALSE);
layout = gtk_widget_create_pango_layout(imhtml->tip_window, imhtml->tip);
- gtk_paint_flat_box (gtk_widget_get_style(imhtml->tip_window),
- cr,
- GTK_STATE_NORMAL, GTK_SHADOW_OUT, imhtml->tip_window,
- "tooltip", 0, 0, -1, -1);
+ gtk_paint_flat_box (gtk_widget_get_style(imhtml->tip_window), cr,
+ GTK_STATE_NORMAL, GTK_SHADOW_OUT, imhtml->tip_window, "tooltip",
+ 0, 0, -1, -1);
- gtk_paint_layout (gtk_widget_get_style(imhtml->tip_window),
- cr,
- GTK_STATE_NORMAL, TRUE, imhtml->tip_window, NULL, 4, 4, layout);
+ gtk_paint_layout (gtk_widget_get_style(imhtml->tip_window), cr,
+ GTK_STATE_NORMAL, TRUE, imhtml->tip_window, NULL, 4, 4, layout);
- cairo_destroy(cr);
+ cairo_destroy(cr);
g_object_unref(layout);
return FALSE;
}
@@ -526,13 +524,13 @@ gtk_imhtml_tip (gpointer data)
PangoFontMetrics *font_metrics;
PangoLayout *layout;
PangoFont *font;
- GtkStyle *style = gtk_widget_get_style(imhtml->tip_window);
- GtkAllocation allocation;
+ GtkStyle *style = gtk_widget_get_style(imhtml->tip_window);
+ GtkAllocation allocation;
gint gap, x, y, h, w, scr_w, baseline_skip;
g_return_val_if_fail(GTK_IS_IMHTML(imhtml), FALSE);
- gtk_widget_get_allocation(GTK_WIDGET(imhtml), &allocation);
+ gtk_widget_get_allocation(GTK_WIDGET(imhtml), &allocation);
if (!imhtml->tip || !gtk_widget_is_drawable(GTK_WIDGET(imhtml))) {
imhtml->tip_timer = 0;
More information about the Commits
mailing list