aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-29 22:10:25 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-04 16:41:30 +0800
commit75b6dbfd673890da51b7b969acfc1b7e9d644760 (patch)
tree14e9603a73225a8d00223e94a6436d0095517309 /libempathy-gtk
parentee234cca5708bbccf5d538f75bf85fa46aa2a274 (diff)
downloadgsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.tar
gsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.tar.gz
gsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.tar.bz2
gsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.tar.lz
gsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.tar.xz
gsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.tar.zst
gsoc2013-empathy-75b6dbfd673890da51b7b969acfc1b7e9d644760.zip
individual-linker: no more need to implement size_request
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-linker.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/libempathy-gtk/empathy-individual-linker.c b/libempathy-gtk/empathy-individual-linker.c
index 8da456947..3aee55d78 100644
--- a/libempathy-gtk/empathy-individual-linker.c
+++ b/libempathy-gtk/empathy-individual-linker.c
@@ -566,31 +566,6 @@ finalize (GObject *object)
}
static void
-size_request (GtkWidget *widget,
- GtkRequisition *requisition)
-{
- GtkBin *bin = GTK_BIN (widget);
- GtkWidget *child;
-
- requisition->width =
- gtk_container_get_border_width (GTK_CONTAINER (widget)) * 2;
- requisition->height =
- gtk_container_get_border_width (GTK_CONTAINER (widget)) * 2;
-
- child = gtk_bin_get_child (bin);
-
- if (child && gtk_widget_get_visible (child))
- {
- GtkRequisition child_requisition;
-
- gtk_widget_size_request (child, &child_requisition);
-
- requisition->width += child_requisition.width;
- requisition->height += child_requisition.height;
- }
-}
-
-static void
size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
@@ -628,7 +603,6 @@ empathy_individual_linker_class_init (EmpathyIndividualLinkerClass *klass)
object_class->dispose = dispose;
object_class->finalize = finalize;
- widget_class->size_request = size_request;
widget_class->size_allocate = size_allocate;
/**