~ubuntu-branches/ubuntu/precise/nvidia-settings/precise

« back to all changes in this revision

Viewing changes to src/gtk+-2.x/ctkdisplaydevice-crt.c

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone (tseliot)
  • Date: 2008-10-08 18:24:16 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20081008182416-niiw9g1lmimlkg75
Tags: 177.78-0ubuntu1
* New upstream release
  - Do not add RgbPath to the Files section of xorg.conf
    (LP: #274866)
* debian/copyright:
  - Restore detailed version of the license (cf. debian #494388)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <gtk/gtk.h>
26
26
#include <NvCtrlAttributes.h>
27
27
 
28
 
#include "ctkimage.h"
 
28
#include "ctkbanner.h"
29
29
 
30
30
#include "ctkdisplaydevice-crt.h"
31
31
 
92
92
{
93
93
    CtkDisplayDeviceCrt *ctk_display_device_crt = CTK_DISPLAY_DEVICE_CRT(object);
94
94
    g_free(ctk_display_device_crt->name);
 
95
    g_signal_handlers_disconnect_matched(ctk_display_device_crt->ctk_event,
 
96
                                         G_SIGNAL_MATCH_DATA,
 
97
                                         0,
 
98
                                         0,
 
99
                                         NULL,
 
100
                                         NULL,
 
101
                                         (gpointer) ctk_display_device_crt);
95
102
}
96
103
 
97
104
/*
115
122
    GtkWidget *alignment;
116
123
 
117
124
    object = g_object_new(CTK_TYPE_DISPLAY_DEVICE_CRT, NULL);
 
125
    if (!object) return NULL;
118
126
 
119
127
    ctk_display_device_crt = CTK_DISPLAY_DEVICE_CRT(object);
120
128
    ctk_display_device_crt->handle = handle;